[INFO] fetching crate tg-rcore-tutorial-ch2 0.4.8...
[INFO] testing tg-rcore-tutorial-ch2-0.4.8 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate tg-rcore-tutorial-ch2 0.4.8 into /workspace/builds/worker-1-tc1/source
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate tg-rcore-tutorial-ch2 0.4.8
[INFO] finished tweaking crates.io crate tg-rcore-tutorial-ch2 0.4.8
[INFO] tweaked toml for crates.io crate tg-rcore-tutorial-ch2 0.4.8 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tg-rcore-tutorial-ch2 0.4.8 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tg-rcore-tutorial-ch2 0.4.8 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tg-rcore-tutorial-kernel-context v0.4.8
[INFO] [stderr]   Downloaded tg-rcore-tutorial-signal-defs v0.4.8
[INFO] [stderr]   Downloaded tg-rcore-tutorial-console v0.4.8
[INFO] [stderr]   Downloaded tg-rcore-tutorial-linker v0.4.8
[INFO] [stderr]   Downloaded numeric-enum-macro v0.2.0
[INFO] [stderr]   Downloaded tg-rcore-tutorial-sbi v0.4.8
[INFO] [stderr]   Downloaded riscv v0.10.1
[INFO] [stderr]   Downloaded tg-rcore-tutorial-syscall v0.4.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f0d80a72405d763344f1e0d933c500f4900d42cb2c6076ca2a05ef3d316689b9
[INFO] running `Command { std: "docker" "start" "-a" "f0d80a72405d763344f1e0d933c500f4900d42cb2c6076ca2a05ef3d316689b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0d80a72405d763344f1e0d933c500f4900d42cb2c6076ca2a05ef3d316689b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0d80a72405d763344f1e0d933c500f4900d42cb2c6076ca2a05ef3d316689b9", kill_on_drop: false }`
[INFO] [stdout] f0d80a72405d763344f1e0d933c500f4900d42cb2c6076ca2a05ef3d316689b9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9061236f82eef7fb0848c3e3a78b0f36e90a90bae7cf2aaa6f070b6e82b42183
[INFO] running `Command { std: "docker" "start" "-a" "9061236f82eef7fb0848c3e3a78b0f36e90a90bae7cf2aaa6f070b6e82b42183", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling riscv v0.10.1
[INFO] [stderr]    Compiling numeric-enum-macro v0.2.0
[INFO] [stderr]    Compiling tg-rcore-tutorial-linker v0.4.8
[INFO] [stderr]    Compiling tg-rcore-tutorial-syscall v0.4.8
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bit_field v0.10.3
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling tg-rcore-tutorial-sbi v0.4.8
[INFO] [stderr]    Compiling tg-rcore-tutorial-kernel-context v0.4.8
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling tg-rcore-tutorial-signal-defs v0.4.8
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling tg-rcore-tutorial-console v0.4.8
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tg-rcore-tutorial-ch2 v0.4.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.25s
[INFO] running `Command { std: "docker" "inspect" "9061236f82eef7fb0848c3e3a78b0f36e90a90bae7cf2aaa6f070b6e82b42183", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9061236f82eef7fb0848c3e3a78b0f36e90a90bae7cf2aaa6f070b6e82b42183", kill_on_drop: false }`
[INFO] [stdout] 9061236f82eef7fb0848c3e3a78b0f36e90a90bae7cf2aaa6f070b6e82b42183
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad4195c826f32a6d4ccefe994af9490d12c977985b9c408cd9c6ea82d1b4572a
[INFO] running `Command { std: "docker" "start" "-a" "ad4195c826f32a6d4ccefe994af9490d12c977985b9c408cd9c6ea82d1b4572a", kill_on_drop: false }`
[INFO] [stderr]    Compiling tg-rcore-tutorial-linker v0.4.8
[INFO] [stderr]    Compiling numeric-enum-macro v0.2.0
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling tg-rcore-tutorial-sbi v0.4.8
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling tg-rcore-tutorial-kernel-context v0.4.8
[INFO] [stderr]    Compiling tg-rcore-tutorial-signal-defs v0.4.8
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling tg-rcore-tutorial-console v0.4.8
[INFO] [stderr]    Compiling tg-rcore-tutorial-syscall v0.4.8
[INFO] [stderr]    Compiling riscv v0.10.1
[INFO] [stderr]    Compiling tg-rcore-tutorial-ch2 v0.4.8 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:151:1
[INFO] [stdout]     |
[INFO] [stdout] 151 | / fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 152 | |     println!("{info}");
[INFO] [stdout] 153 | |     tg_sbi::shutdown(true)
[INFO] [stdout] 154 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.so, /opt/rustwide/rustup-home/toolchains/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.rlib, /opt/rustwide/rustup-home/toolchains/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.rmeta
[INFO] [stdout]     = note: second definition in the local crate (`tg_rcore_tutorial_ch2`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tg-rcore-tutorial-ch2` (bin "tg-rcore-tutorial-ch2" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "ad4195c826f32a6d4ccefe994af9490d12c977985b9c408cd9c6ea82d1b4572a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad4195c826f32a6d4ccefe994af9490d12c977985b9c408cd9c6ea82d1b4572a", kill_on_drop: false }`
[INFO] [stdout] ad4195c826f32a6d4ccefe994af9490d12c977985b9c408cd9c6ea82d1b4572a
